package cn.itsource.user.service;

import cn.itsource.basic.util.AjaxResult;
import cn.itsource.basic.util.PageList;
import cn.itsource.user.domain.User;
import cn.itsource.basic.service.IBaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Chl
 * @since 2023-03-28
 */
public interface IUserService extends IBaseService<User> {

    AjaxResult phoneRegister(Map<String, String> map);

    AjaxResult emailRegister(Map<String, String> map) throws MessagingException;

    void active(Long id);
}
